Object-Oriented Design Pattern: Access Protector

نویسندگان

  • Harri Hakonen
  • Ville Leppänen
چکیده

Access Protector is a class behavioral design pattern which distributes the routines of the original class hierarchy to given access-protection layers. The distribution utilizes dynamic binding and automatic upcasting to guarantee that the indended object access policies are transitive while the original runtime behavior between the objects does not change. In more detail, the pattern states explicitly what rights the client and the supplier object have on the objects passed through the class interface. Rather than being a property of an object, Access Protector defines access levels, i.e. restrictive views, into it by using subclassing. This property makes the access restrictions transitive so that granted permissions cannot be loosened when the object reference is forwarded. Also, the object can be referred via multiple access levels at the same time depending on what kind of object integrity protection is required toward different clients. Access Protector can also be called as Anti-Code-Wrapper or Routine Waiver. The name AntiCode-Wrapper emphasizes the delegation aspect of the design pattern, whereas Routine Waiver refers to routine reorganization.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

APLRAC: A Pattern Language for Designing and Implementing Role-Based Access Control

The Object-Oriented paradigm approaches the software development by representing real world entities into classes of software objects. Interactions between classes can be captured by patterns. A pattern language is a collection of patterns composed to solve a complex design problem. This paper presents a collection of object-oriented design patterns structured to form a pattern language for Rol...

متن کامل

Data Access Object Pattern

The data access object (DAO) pattern tries to decouple the access to data from its underlying storage. Persisting data currently relies heavily on the type of database used: Relational database, object-oriented databases, flat files. It would be preferable to chose the type of database used during the deployment phase instead of the design phase. By using data access objects the data is decoupl...

متن کامل

Declarative Semantics in Object-Oriented Software Development - A Taxonomy and Survey

One of the modern paradigms to develop an application is object oriented analysis and design. In this paradigm, there are several objects and each object plays some specific roles in applications. In an application, we must distinguish between procedural semantics and declarative semantics for their implementation in a specific programming language. For the procedural semantics, we can write a ...

متن کامل

On Attributes of Objects in Object-Oriented Software Analysis

One of the modern paradigms to develop a system is object oriented analysis and design. In this paradigm, there are several objects and each object plays some specific roles. There is a sequence of activities to develop an analysis model. In the first step, we work in developing an initial use case model. Then in the second step, they identify a number of concepts and build a glossary of partic...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009